Optimal. Leaf size=52 \[ \frac{2 \left (a x^2+b x^3\right )^{3/2}}{5 b x^2}-\frac{4 a \left (a x^2+b x^3\right )^{3/2}}{15 b^2 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0430886, antiderivative size = 52, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {2002, 2014} \[ \frac{2 \left (a x^2+b x^3\right )^{3/2}}{5 b x^2}-\frac{4 a \left (a x^2+b x^3\right )^{3/2}}{15 b^2 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2002
Rule 2014
Rubi steps
\begin{align*} \int \sqrt{a x^2+b x^3} \, dx &=\frac{2 \left (a x^2+b x^3\right )^{3/2}}{5 b x^2}-\frac{(2 a) \int \frac{\sqrt{a x^2+b x^3}}{x} \, dx}{5 b}\\ &=-\frac{4 a \left (a x^2+b x^3\right )^{3/2}}{15 b^2 x^3}+\frac{2 \left (a x^2+b x^3\right )^{3/2}}{5 b x^2}\\ \end{align*}
Mathematica [A] time = 0.0139493, size = 31, normalized size = 0.6 \[ \frac{2 \left (x^2 (a+b x)\right )^{3/2} (3 b x-2 a)}{15 b^2 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 35, normalized size = 0.7 \begin{align*} -{\frac{ \left ( 2\,bx+2\,a \right ) \left ( -3\,bx+2\,a \right ) }{15\,{b}^{2}x}\sqrt{b{x}^{3}+a{x}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.976278, size = 41, normalized size = 0.79 \begin{align*} \frac{2 \,{\left (3 \, b^{2} x^{2} + a b x - 2 \, a^{2}\right )} \sqrt{b x + a}}{15 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.873243, size = 84, normalized size = 1.62 \begin{align*} \frac{2 \,{\left (3 \, b^{2} x^{2} + a b x - 2 \, a^{2}\right )} \sqrt{b x^{3} + a x^{2}}}{15 \, b^{2} x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{a x^{2} + b x^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1859, size = 51, normalized size = 0.98 \begin{align*} \frac{4 \, a^{\frac{5}{2}} \mathrm{sgn}\left (x\right )}{15 \, b^{2}} + \frac{2 \,{\left (3 \,{\left (b x + a\right )}^{\frac{5}{2}} - 5 \,{\left (b x + a\right )}^{\frac{3}{2}} a\right )} \mathrm{sgn}\left (x\right )}{15 \, b^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]